﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;

namespace VSWClient.Pages.DataGridClass
{
	/// <summary>
	/// client strip table data two-way binding
	/// </summary>
	public class Strips : INotifyPropertyChanged
	{		
		private string eventNo;
		private string stripNo;
		private string batchNoA;
		private string batchNoB;
		private string taskNo;
		private string isSpy;
		private string isEx;
		private string stripDurabilityClass;
		private string stripSteelGrade;
		private string stripHeat;
		private string stripThk;
		private string stripWidth;
		private string stripWeight;
		private string burrDirection;
		private string status;
		private string updateTime;

		public string EventNo
		{
			get => eventNo;
			set
			{
				eventNo = value;
				OnPropertyChanged(new PropertyChangedEventArgs("EventNo"));
			}
		}
		public string StripNo
		{
			get => stripNo;
			set
			{
				stripNo = value;
				OnPropertyChanged(new PropertyChangedEventArgs("StripNo"));
			}
		}
		public string BatchNoA
		{
			get => batchNoA;
			set
			{
				batchNoA = value;
				OnPropertyChanged(new PropertyChangedEventArgs("BatchNoA"));
			}
		}
		public string BatchNoB
		{
			get => batchNoB;
			set
			{
				batchNoB = value;
				OnPropertyChanged(new PropertyChangedEventArgs("BatchNoB"));
			}
		}
		public string TaskNo
		{
			get => taskNo;
			set
			{
				taskNo = value;
				OnPropertyChanged(new PropertyChangedEventArgs("TaskNo"));
			}
		}
		public string IsSpy
		{
			get => isSpy;
			set
			{
				isSpy = value;
				OnPropertyChanged(new PropertyChangedEventArgs("IsSpy"));
			}
		}
		public string IsEx
		{
			get => isEx;
			set
			{
				isEx = value;
				OnPropertyChanged(new PropertyChangedEventArgs("IsEx"));
			}
		}
		public string StripDurabilityClass
		{
			get => stripDurabilityClass;
			set
			{
				stripDurabilityClass = value;
				OnPropertyChanged(new PropertyChangedEventArgs("StripDurabilityClass"));
			}
		}
		public string StripSteelGrade
		{
			get => stripSteelGrade;
			set
			{
				stripSteelGrade = value;
				OnPropertyChanged(new PropertyChangedEventArgs("StripSteelGrade"));
			}
		}
		public string StripHeat
		{
			get => stripHeat;
			set
			{
				stripHeat = value;
				OnPropertyChanged(new PropertyChangedEventArgs("StripHeat"));
			}
		}
		public string StripThk
		{
			get => stripThk;
			set
			{
				stripThk = value;
				OnPropertyChanged(new PropertyChangedEventArgs("StripThk"));
			}
		}
		
		public string StripWidth
		{
			get => stripWidth;
			set
			{
				stripWidth = value;
				OnPropertyChanged(new PropertyChangedEventArgs("StripWidth"));
			}
		}
		public string StripWeight
		{
			get => stripWeight;
			set
			{
				stripWeight = value;
				OnPropertyChanged(new PropertyChangedEventArgs("StripWeight"));
			}
		}
		public string BurrDirection
		{
			get => burrDirection;
			set
			{
				burrDirection = value;
				OnPropertyChanged(new PropertyChangedEventArgs("BurrDirection"));
			}
		}
		public string Status
		{
			get => status;
			set
			{
				status = value;
				OnPropertyChanged(new PropertyChangedEventArgs("Status"));
			}
		}
		public string UpdateTime
		{
			get => updateTime;
			set
			{
				updateTime = value;
				OnPropertyChanged(new PropertyChangedEventArgs("UpdateTime"));
			}
		}
		public event PropertyChangedEventHandler PropertyChanged;
		public void OnPropertyChanged(PropertyChangedEventArgs e)
		{
			if (PropertyChanged != null)
				PropertyChanged(this, e);
		}
	}
}
